home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / wlo10.zip / SETUP.CMD < prev    next >
OS/2 REXX Batch file  |  1991-09-23  |  927b  |  34 lines

  1. @echo off
  2. if not %2.==. goto continue
  3. echo.
  4. echo Microsoft (R) Windows 3.0 Applets for OS/2
  5. echo Setup Program
  6. echo Copyright (C) Microsoft Corp. 1990-1991.  All rights reserved.
  7. echo.
  8. echo These Windows applets have been relinked to run with the Windows
  9. echo Libraries for OS/2 (WLO) and are for demonstration purposes only.
  10. echo.
  11. echo Usage:
  12. echo     setup path drive
  13. echo.
  14. echo     path      - specifies destination path where the Windows
  15. echo                 applets will be installed
  16. echo.
  17. echo     drive     - specifies the drive from which the setup program is
  18. echo                 being run (be sure to include the : (colon), but
  19. echo.                do not include a \ (backslash) at the end).
  20. echo Example:
  21. echo            SETUP C:\APPLETS A:
  22. echo.
  23. goto exit
  24.  
  25. :continue
  26. %2
  27. if not exist %1 md %1
  28. copy decomp.exe %1
  29. copy setup.dat %1\setup.cmd
  30. call %1\setup %1 %2
  31. del %1\setup.*
  32.  
  33. :exit
  34.